import sys

server_port = None
try:
    if len(sys.argv) > 1:
        server_port = int(sys.argv[1])
except ValueError:
    print(f'Usage: python {sys.argv[0]} <server-port>\n')
    exit(1)

# Run the app with no audio file restrictions, and make it available on the network
from app import create_ui
create_ui(-1, server_name="0.0.0.0", server_port=server_port)
